package com.sss.hloster0306;
//反射机制--动态调用
public class Super {
	private int supPri = 1;
	int supPac = 2;
	protected double supPro = 3;
	public String supPub = "4";

	public Super() {
		super();
	}

	public Super(int pri, int pac, double pro, String pub) {
		super();
		this.supPri = pri;
		this.supPac = pac;
		this.supPro = pro;
		this.supPub = pub;
	}

	protected Super(int pri, int pac, double pro) {
		this(pri, pac, pro, "4");
	}

	Super(int pri, int pac) throws Exception {
		this(pri, pac, 3.0, "4");
	}

	private Super(int pri) {
		this(pri, 2, 3.0, "4");
	}

	private void supPrivate() {

	}

	int supPackege() {
		return supPac;
	}

	protected double supProtected() {
		return supPro;
	}

	public String supPublic() {
		return supPub;
	}
}
